#
# This is the "link.sh" for the Oracle CLISP module
#
# $Id: link.sh.in,v 1.3 2009/09/10 21:26:25 sds Exp $

${MAKE-make} clisp-module \
  CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" \
  CLISP_LINKKIT="$absolute_linkkitdir" CLISP="${CLISP}"

NEW_FILES="oracle.o oiface.o orafns.o"

# Get additional libs for Oracle client.  This may be
# system specific and require some tweaking.
NEW_LIBS="${NEW_FILES} -L ${ORACLE_HOME}/lib -lclntsh -ldl -lpthread -lm"

NEW_MODULES="oracle"
TO_LOAD="oracle"

